package com.hong.serviceuser.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hong.model.model.user.Patient;

import java.util.List;
import java.util.concurrent.ExecutionException;

public interface PatientService extends IService<Patient> {
    List<Patient> findAllById(Long userId);
    Patient getPatientById(Long id) throws ExecutionException, InterruptedException;
}
